﻿/*
*┌────────────────────────────────────────────────┐
*│　描    述：ResourceEmergencyHospItem                                                   
*│　作    者： (Jxw)                                             
*│　版    本：1.0     
*│　功能描述：                                          
*│　创建时间：2021/4/22 16:43:33                        
*└────────────────────────────────────────────────┘
*/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    public class ResourceEmergencyHospItem
    {
        /// <summary>
        /// 医院机构名称
        /// </summary>
        public string orgName { get; set; }
        /// <summary>
        /// 医院机构代码
        /// </summary>
        public string orgCode { get; set; }
        /// <summary>
        /// 资源列表
        /// </summary>
        public List<ResourcesItem> resources { get; set; }
    }

    public class ResourcesItem
    {
        /// <summary>
        /// 资源类型   床位、呼吸机、CT机
        /// </summary>
        public string resourceType { get; set; }
        /// <summary>
        /// 资源编码  设备编码或床位号
        /// </summary>
        public string resourceCode { get; set; }
        /// <summary>
        /// 资源名称
        /// </summary>
        public string resourceName { get; set; }
        /// <summary>
        /// 资源总数
        /// </summary>
        public int resourceTotal { get; set; }
        /// <summary>
        /// 资源空闲数
        /// </summary>
        public int resourceFree { get; set; }
        /// <summary>
        /// 当前资源时间
        /// </summary>
        public string resourceTime { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public string updateTime { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string remark { get; set; }
    }

    public class EmergencyHospDTO: RequestDTO
    {
        /// <summary>
        /// 院内急救资源列表
        /// </summary>
        public List<ResourceEmergencyHospItem> resourceEmergencyHosp { get; set; }
    }

}
